<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="../../common/taglibs.jsp"%>
<%@include file="../../common/_head.jsp"%>
<html>
<head>
    <link  rel="stylesheet" href="<%=path%>/assets/layuiadmin/layui/css/modules/formSelects/formSelects-v4.css">
</head>
<body>
<div class="layui-form" lay-filter="layuiadmin-form-data" id="layuiadmin-form-data" style="padding: 20px 30px 0 0;">
    <input style="display: none" name="id" id="id" value="">
    <div class="layui-form-item">
        <label class="layui-form-label">类型</label>
        <div class="layui-input-block">
            <input type="radio" name="type" value="0" title="Android" class="layui-input" lay-filter="type" checked>
            <input type="radio" name="type" value="1" title="IOS(TF)" class="layui-input" lay-filter="type">
            <input type="radio" name="type" value="2" title="IOS(APPSTORE)" class="layui-input" lay-filter="type">
            <input type="radio" name="type" value="3" title="IOS(ENTER)" class="layui-input" lay-filter="type">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">版本</label>
        <div class="layui-input-block">
            <input type="text" name="version" id="version" class="layui-input" lay-verify="required" autocomplete="off">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">版本号</label>
        <div class="layui-input-block">
            <input type="number" name="code" id="code" class="layui-input" lay-verify="required" autocomplete="off">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">更新内容</label>
        <div class="layui-input-block">
            <textarea placeholder="请输入更新内容" name="content" id="content" class="layui-textarea" lay-verify="required"></textarea>
        </div>
    </div>
    <div class="layui-form-item" id="file-upload">
        <div class="layui-inline">
            <label class="layui-form-label">app上传</label>
            <div class="layui-input-block">
                <div style="width: 92px; height: 92px; border: 1px solid #e6e6e6;" id="file-upload-div">
                    <div class="layui-progress" lay-filter="progress" lay-showPercent="yes" style="position: absolute; bottom: 1px; width: inherit; display: none;">
                        <div class="layui-progress-bar" lay-percent="0%"></div>
                    </div>
                    <i class="layui-icon layui-icon-add-1" id="iconAdd" style="position: absolute; top: 30px; left: 31px; font-size: 30px; z-index: -1;"></i>
                    <i class="layui-icon layui-icon-close-fill" id="iconDel" style="color: red; position: absolute; right: -8px; top: -8px; display: none;"></i>
                </div>

                <span id="file-upload-span"></span>

                <input type="text" style="display: none" name="url" id="url" lay-verify="file-verify">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">强更状态</label>
        <div class="layui-input-block">
            <input type="radio" name="must" value="0" title="非强更" class="layui-input" checked>
            <input type="radio" name="must" value="1" title="强更" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item layui-hide">
        <button class="layui-btn" lay-submit="" lay-filter="data-submit" id="data-submit">提交</button>
    </div>
</div>

<script src="<%=path%>/assets/plupload-2.1.2/js/plupload.full.min.js"></script>
<script src="<%=path%>/assets/crypto-js/aes.js"></script>
<script src="<%=path%>/assets/crypto-js/aes-util.js"></script>
<script src="<%=path%>/assets/ali/oss/upload.js"></script>
<script src="<%=path%>/js/materialmanage/version/edit.js?v=1.1.0"></script>
</body>
</html>
